You can access my matlab code here: hw1_komaromi.m

figure_1.png
figure_2.png


Entropy (s0), total water (qt0) and pressure (p0) of a near-surface parcel:

s0 = 260.70 J/K

qt0 = 17.97 g/kg

p0 = 1000 mb



figure_3.png
figure_4.png
figure_5.png
figure_6.png



CAPE = 322 J/kg (see calculation in code)